home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
g_man
/
cat3
/
standard
/
prefsize.z
/
prefsize
Wrap
Text File
|
1998-10-20
|
2KB
|
67 lines
pppprrrreeeeffffssssiiiizzzzeeee((((3333GGGG)))) pppprrrreeeeffffssssiiiizzzzeeee((((3333GGGG))))
NNNNAAAAMMMMEEEE
pppprrrreeeeffffssssiiiizzzzeeee - specifies the preferred size of a graphics window
CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
vvvvooooiiiidddd pppprrrreeeeffffssssiiiizzzzeeee((((xxxx,,,, yyyy))))
lllloooonnnngggg xxxx,,,, yyyy;;;;
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
_x expects the width of the graphics window. The width is measured in
pixels.
_y expects the height of the graphics window. The height is measured in
pixels.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
pppprrrreeeeffffssssiiiizzzzeeee specifies the preferred size of a graphics window as _x pixels by
_y pixels. Call pppprrrreeeeffffssssiiiizzzzeeee at the beginning of a graphics program.
Once a window is created, you must use pppprrrreeeeffffssssiiiizzzzeeee with wwwwiiiinnnnccccoooonnnnssssttttrrrraaaaiiiinnnnttttssss in
order to modify the enforced window size. Calling wwwwiiiinnnnooooppppeeeennnn activates the
constraints specified by pppprrrreeeeffffssssiiiizzzzeeee. If wwwwiiiinnnnooooppppeeeennnn is not called, pppprrrreeeeffffssssiiiizzzzeeee is
ignored.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
winconstraints, winopen
NNNNOOOOTTTTEEEE
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111